<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
    <title> 三角地管理员系统 </title>
    {% block css %} {% endblock %}
</head>
<body>
    <nav class="navbar navbar-light" style="background-color: #e3f2fd;">
        <div class="container">
            <a class="navbar-brand">三角地管理员系统</a>
            <a class="btn btn-outline-danger" href="{{ url_for('admin.logout') }}"> {{ session['admin_user'] }} —> 退出 </a>
        </div>
    </nav>

    <div class="container" style="margin-top: 6px;">
        <div class="row">
            <div class="col-md-3">
                <div class="list-group">
                    <a id="m1" href="{{ url_for('admin.activity_management', page=1) }}" class="list-group-item list-group-item-action">活动管理</a>
                    <a id="m2" href="{{ url_for('admin.publisher_management', page=1) }}" class="list-group-item list-group-item-action">用户管理</a>
                    <!--<a id="m3" href="{{ url_for('publisher.basic_information') }}" class="list-group-item list-group-item-action">用户反馈</a>-->
                </div>
            </div>
            <div class="col-md-9">
                <div class="card">
                    <div class="card-header">{{ title }}</div>
                    <div class="card-body">
                        {% block content %}
                        {% endblock %}
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="{{ url_for('static', filename='js/jquery.slim.min.js') }}"></script>
    <script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
    <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
    <script src="https://cdn.bootcss.com/holder/2.9.4/holder.min.js"></script>
    {% block js %} {% endblock %}
</body>
</html>
